@echo off
:: 切换到项目目录，请根据实际情况修改路径
cd /d d:\projects\ddns

:: 激活虚拟环境
call venv\Scripts\activate

:: 运行 Python 脚本
start  pythonw ddns.py

:: 提示脚本已启动
echo DDNS.py has been started. Use task manager to monitor, or stop it.
pause
exit